6.3. Preconditions for Calendar Object Creation
calWS:target-exists: The target of aPUTmust exist. UsePOSTto create entities andPUTto update them.calWS:not-calendar-data: The resource submitted in thePUTrequest, or targeted by aCOPYorMOVErequest,MUSTbe a supported media type (i.e., iCalendar) for calendar object resources;calWS:invalid-calendar-data: The resource submitted in thePUTrequest, or targeted by aCOPYorMOVErequest,MUSTbe valid data for the media type being specified (i.e.,MUSTcontain valid iCalendar data);calWS:invalid-calendar-object-resource: The resource submitted in thePUTrequest, or targeted by aCOPYorMOVErequest,MUSTobey all restrictions specified in Calendar Object Resources (e.g., calendar object resourcesMUST NOTcontain more than one type of calendar component, calendar object resourcesMUST NOTspecify the iCalendarMETHODproperty, etc.);calWS:unsupported-calendar-component: The resource submitted in thePUTrequest, or targeted by aCOPYorMOVErequest,MUSTcontain a type of calendar component that is supported in the targeted calendar collection;calWS:uid-conflict: The resource submitted in thePUTrequest, or targeted by aCOPYorMOVErequest,MUST NOTspecify an iCalendarUIDproperty value already in use in the targeted calendar collection or overwrite an existing calendar object resource with one that has a different UID property value. ServersSHOULDreport the URL of the resource that is already making use of the same UID property value in thecalWS:hrefelement<!ELEMENT uid-conflict (calWS:href)>
calWS:invalid-calendar-collection-location: In aCOPYorMOVErequest, when the Request- URI is a calendar collection, the Destination-URIMUSTidentify a location where a calendar collection can be created;calWS:exceeds-max-resource-size: The resource submitted in thePUTrequest, or targeted by aCOPYorMOVErequest,MUSThave an octet size less than or equal to the value of theCalDAV:max-resource-sizeproperty value on the calendar collection where the resource will be stored;calWS:before-min-date-time: The resource submitted in thePUTrequest, or targeted by aCOPYorMOVErequest,MUSThave all of its iCalendarDATEorDATE-TIMEproperty values (for each recurring instance) greater than or equal to the value of theCalDAV:min-date-timeproperty value on the calendar collection where the resource will be stored;calWS:after-max-date-time: The resource submitted in thePUTrequest, or targeted by aCOPYorMOVErequest,MUSThave all of its iCalendarDATEorDATE-TIMEproperty values (for each recurring instance) less than the value of theCalDAV:max-date-timeproperty value on the calendar collection where the resource will be stored;calWS:too-many-instances: The resource submitted in thePUTrequest, or targeted by aCOPYorMOVErequest,MUSTgenerate a number of recurring instances less than or equal to the value of theCalDAV:max-instancesproperty value on the calendar collection where the resource will be stored;calWS:too-many-attendees-per-instance: The resource submitted in thePUTrequest, or targeted by aCOPYorMOVErequest,MUSThave a number ofATTENDEEproperties on any one instance less than or equal to the value of theCalDAV:max-attendees-per-instanceproperty value on the calendar collection where the resource will be stored;